package com.wjy.myokhttp.application;

import android.app.Application;
import android.content.Context;

/**
 * Created by wjy.
 * Date: 2019/11/28
 * Time: 14:41
 * Describe: ${describe}
 */
public class MyApplication extends Application {

    public static Context context;
    private static MyApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        context = getApplicationContext();
    }

    public static MyApplication getInstance(){
        return instance;
    }

    public static Context getConText(){
        return context;
    }
}
